﻿<Window 
  x:Name="_this"
  x:Class="System.Controls.Windows.WorkingWindow"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        
  xmlns:con="clr-namespace:System.Controls"
  
  WindowStyle="None"
  AllowsTransparency="True"
  Background="Transparent"
  Topmost="True"
  
  Opacity="1"
  
  Width="280"
  Height="80">
  
  <Border>
    <Border
      Margin="0,0,7,7"
      BorderThickness="2"
      CornerRadius="2"
      Padding="20"
      Background="LightSlateGray">

      <Grid>
        <Grid.ColumnDefinitions>
          <ColumnDefinition/>
          <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>

        <TextBlock 
          Foreground="White"
          VerticalAlignment="Center"
          HorizontalAlignment="Center"
          Text="{Binding ElementName=_this, Path=Title, FallbackValue='Processing.....'}"/>

        <con:Gear
          Grid.Column="1"
          Margin="5,0"
          Width="30" 
          Height="30"
          Rotate="True"/>

      </Grid>
      
      <Border.Effect>
        <DropShadowEffect/>
      </Border.Effect>

    </Border>
  </Border>
</Window>
